package com.slz3.business.module.orderManagement.ordOrderLine.service;

import com.slz3.business.module.orderManagement.ordOrderLine.domain.OrdOrderLine;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;

/**
 * 非事务型 service
 */
public interface OrdOrderLineService {

    OrdOrderLine save(OrdOrderLine ordOrderLine);

    Page<OrdOrderLine> page(MultiValueMap<String,String> queryParams);

    OrdOrderLine modify(OrdOrderLine ordOrderLine);

    Optional<OrdOrderLine> single(UUID uuid);

    List<OrdOrderLine> findAllByUuids(Iterable<UUID> uuids);

    List<OrdOrderLine> delete(List<OrdOrderLine> ordOrderLineList);

    List<OrdOrderLine> findBySerOrderId(UUID serOrderId);
}
